<?php
use Fox\SalesDistribution\Sales;
use Fox\Html\Input;
$block = new Fox\Html\Block("bCustomer",Msg(Sales::BUNDLE_NAME,Sales::LABEL_RESPONSIBLE));

$block->add(new Input("customername",true));

$block->add(new Input("contact"));
$block->add(new Input("function"),2,"contact")->size(Input::SIZE_MEDIUM);
$block->add(new Input(array("adress","street")));
$block->add(new Input("postal_code"));
$block->add(new Input("city"),2,"postal_code")->size(Input::SIZE_MEDIUM);
$block->add(new Input(array("phone","phone1")));
$block->add(new Input(array("email","email1")),2)->size(Input::SIZE_MEDIUM);
$block->add(new Input("contactid"))->hidden();
$block->add(new Input("customerid"),2,"contactid")->hidden();
$block->item("postal_code")->width("5");
$block->collapsed(false);
return $block;